/*document.write('<script type="text/javascript" src="/cgi-bin/odaidata.cgi"></scr' + 'ipt>'); 

var tags = new Array();

var seconds = new Array('1','2','3','4','5','6','7','8','9','10');
var sounds = new Array('click.wav');
*/

function init_form(){
	var varlist = document.getElementsByName("variable");
	var vallist = document.getElementsByName("value");
	linkDropdowns(varlist[0],vallist[0]);
	vallist[0].onchange();

/*	for (k=0;k<oarr.length;k++){
		oarr[k].onclick=function(){
			var opt = document.getElementsByName("param1");
			opt[0].innerHTML=""; // Empty dropdown
			if (this.value=="wait"){
				loadDropdownFromArray(opt[0],seconds,seconds,"");
			} 
			if (this.value=="play"){
				loadDropdownFromArray(opt[0],sounds,sounds,"");
			}
			if (this.value=="setport"){
				loadDropdownFromArray(opt[0],ports,ports_names,"");
			}
			if (this.value=="setall"){
				loadDropdownFromArray(opt[0],tags,tags,"");
			}
		}
	} */
}


